package org.orz.story.pms.biz.persistence.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.orz.story.pms.biz.model.dto.PermissionRoleRelationDTO;
import org.orz.story.pms.biz.persistence.entities.PmsPermissionApi;

import java.util.List;
import java.util.Set;

@Mapper
public interface PmsPermissionApiMapper extends BaseMapper<PmsPermissionApi> {

    List<PermissionRoleRelationDTO> listApiRoleInfoByRoleIds(@Param("roleIds") Set<Long> roleIds);
}
